package com.yuyou.fn.activity.vo;

import com.yuyou.fn.common.condition.annotation.Equal;
import com.yuyou.fn.common.condition.annotation.FullLike;
import com.yuyou.fn.common.condition.annotation.GreatOrEqualThan;
import com.yuyou.fn.common.condition.annotation.LessOrEqualThan;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by lzh on 2019/5/22.
 */
public class ActivityQueryVo {
    @Equal
    @NotNull
    private Long areaTeamId;

    @FullLike
    private String activityName;

    @GreatOrEqualThan(name = "activityStartDate")
    @ApiModelProperty("活动开始日期")
    private Date startDate ;

    @LessOrEqualThan(name = "activityStartDate")
    @ApiModelProperty("活动结束日期")
    private Date endDate ;

    @Equal
    @ApiModelProperty("上架状态， 0:下架，1上架")
    private Integer shelvesStatus;

    public Long getAreaTeamId() {
        return areaTeamId;
    }

    public void setAreaTeamId(Long areaTeamId) {
        this.areaTeamId = areaTeamId;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Integer getShelvesStatus() {
        return shelvesStatus;
    }

    public void setShelvesStatus(Integer shelvesStatus) {
        this.shelvesStatus = shelvesStatus;
    }
}
